package com.hm.shopping.domain;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.hm.shopping.auto.su.BaseDomain;
import com.hm.shopping.auto.su.R;

import lombok.Getter;
import lombok.Setter;

/**
 * @author shishun.wang
 * @date 2018年2月23日 下午4:16:38
 * @version 1.0
 * @describe 商品收藏夹
 */
@Setter
@Getter
@Document(collection = R.Database.prefix + "FAVORITES")
public class FavoritesDomain extends BaseDomain {

	private static final long serialVersionUID = 1L;

	/**
	 * 商品id
	 */
	@Field(value = "goods_id")
	private String goodsId;
	
	/**
	 * 买家
	 */
	@Field(value = "buyer_id")
	private String buyerId;
}
